<div class="pageHeader">
  <form onsubmit="return navTabSearch(this);"
	action="#{$smarty.const.ACT}#/FinReceRecord/fin_rece_record_show/" method="post">
    <div class="searchBar">
      <table class="searchContent">
        <tr>
          <td>客户名称</td>
          <td>
            <input name="cus.id" value="#{$cusID}#" type="hidden"/>
            <input name="cus.name" value="#{$cus_name}#" type="text" class="required"/></td>
          <td width="1"><a class="btnLook" href="#{$smarty.const.ACT}#/Customer/lookup_search/" lookupGroup="cus">选择客户名称</a></td>
          <td>回款日期:</td>
          <td><input type="text" name="sdt" size='10' class="date" value="#{$sdt}#" />
            -
            <input type="text" name="edt" size='10' class="date" value="#{$edt}#" /></td>
          <td><ul>
              <li>
                <div class="buttonActive">
                  <div class="buttonContent">
                    <button type="submit">检索</button>
                  </div>
                </div>
              </li>
            </ul></td>
        </tr>
      </table>
      <table class="subBar">
        <tr>
          <td> 说明： </td>
          <td class="info"> 共计收入：#{$total_money}# &nbsp;&nbsp;</td>
        </tr>
      </table>
    </div>
  </form>
</div>
<div class="pageContent">
  <div class="panelBar">
    <ul class="toolBar">
      <li><a class="add"
		href="#{$smarty.const.ACT}#/FinReceRecord/fin_rece_record_add/" target="dialog"
		rel="fin_rece_record_add" title="回款记录添加" width='850' height='450'><span>添加</span></a></li>
      <li class="line">line</li>
      <li> <a class="delete" href="#{$smarty.const.ACT}#/FinReceRecord/fin_rece_record_del/" postType="string" title="确定要删除吗?"  target="selectedTodo" rel="ids"><span>删除</span></a></li>
      <li class="line">line</li>
    </ul>
  </div>
  <ul>
    <table class="table" width="100%" layoutH="138">
      <thead>
        <tr>
          <th width="22"><input type="checkbox" group="ids"
					class="checkboxCtrl"></th>
          <th align="left" width="42">编号</th>
          <th align="left" width="200">客户名称</th>
          <th align="left" width="200">合同订单</th>
          <th align="left" width="100">回款日期</th>
          <th align="left" width="100">其次</th>
          <th align="left">金额</th>
          <th align="left">回款帐号</th>
          <th align="left">创建人</th>
          <th align="left">创建时间</th>
        </tr>
      </thead>
      <tbody>
      
      #{foreach from=$list key=k item=v}#
      <tr target="sid_user" rel="#{$v.id}#">
        <td><input name="ids" value="#{$v.id}#" type="checkbox"></td>
        <td align="left">#{$v.id}#</td>
        <td align="left"><a target="dialog"  href="#{$smarty.const.ACT}#/Customer/customer_show_one/cusID/#{$v.cusID}#/" rel="customer_show_one_#{$v.id}#" title="#{$v.cst_name}#" width="880" height="480">#{$customer[$v.id]}#</a></td>
        <td align="left">#{$v.business}#</td>
        <td align="left">#{$v.paydate}#</td>
        <td align="left">#{$v.stages}#</td>
        <td align="left">#{$v.money}#</td>
        <td align="left">#{$v.blankaccount}#</td>
        <td align="left">#{$v.create_user}#</td>
        <td align="left">#{$v.adt}#</td>
      </tr>
      #{/foreach}#
        </tbody>
      
    </table>
    <div class="panelBar">
      <form id="pagerForm" method="post"
		action="#{$smarty.const.ACT}#/FinReceRecord/fin_rece_record_show/">
        <input
		type="hidden" name="pageNum" value="1" />
        <input type="hidden"
		name="numPerPage" value="#{$numPerPage}#" />
        <input type="hidden"
		name="orderField" value="${param.orderField}" />
        <input type="hidden" name="sdt" value="#{$sdt}#" />
        <input type="hidden" name="edt" value="#{$edt}#" />
      </form>
      <div class="pages"><span>显示</span>
        <select class="combox"
		name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
          <option value="20" #{if $numPerPage eq '20'}# selected="selected" #{/if}#>20</option>
          <option value="50" #{if $numPerPage eq '50'}# selected="selected" #{/if}#>50</option>
          <option value="100" #{if $numPerPage eq '100'}# selected="selected" #{/if}#>100</option>
          <option value="200" #{if $numPerPage eq '200'}# selected="selected" #{/if}#>200</option>
          <option value="500" #{if $numPerPage eq '500'}# selected="selected" #{/if}#>500</option>
        </select>
        <span>条，共#{$totalCount}#条,金额合计:<font color="#FF0000">#{$total_money}#</font> </span></div>
      <div class="pagination" targetType="navTab"
		totalCount="#{$totalCount}#" numPerPage="#{$numPerPage}#"
		pageNumShown="10" currentPage="#{$currentPage}#"></div>
    </div>
  </ul>
</div>
